package timer;

import java.util.HashSet;
import java.util.Vector;

/**
 * 
 * @author Minodor
 * 
 *         Time Constant for Iterations trough schedule;
 */
public class Time {
	public static final int constant = 10;
	public static double dawnTime = 22000;
	public static double duskTime = 80000;
	public static Vector<String> dates=new Vector<String>();

	public static void addDate(String date)
	{
		if (!dates.contains(date))
			dates.add(date);
	}
	
	public static double getCoef() {
		return getMidDay()/duskTime;
	}

	public static double getMidDay() {
		return (dawnTime + duskTime) / 2;
	}
}
